import { defineStore } from 'pinia'
import { getApiList } from "../service"
export const useStore = defineStore('counter', {
  state: () => ({
    list: {}
  }),
  getters: {

  },
  actions: {
    async getList() {
      const result = await getApiList()
    },
    clearToken() {
      localStorage.removeItem('token')
      console.log(localStorage.getItem('token'));
    }
  },
})
